<div class="product-list">
    <?php if(count($this->products) > 0): ?>
        <?php foreach ($this->products as $product): ?>        
            <div class="product-products-item">
                <a href="/products/show-detail-product/product-id/<?php echo $product['product_id'] ?>">
                    <img border="0" width="148" height="114" 
                         src="/upload/<?php echo $this->imagePath('products', $product['product_image_default'], $product['image_path']) ?>" 
                         alt="<?php echo $product['image_name'] ?>"
                         title="<?php echo $product['image_name'] ?>"/>
                         <?php echo $this->substring($product['name'], 20) ?>
                </a>    
            </div>
        <?php endforeach; ?>
    <?php else: ?>
        <div>Hiện tại không có sản phẩm.</div>
    <?php endif; ?>
    <div class="clr"></div>
    <?php if(count($this->products) > 0): ?>
        <?php echo $this->paginationControl($this->products, 'Sliding', '_partial/paginator.phtml'); ?> 
    <?php endif ?>
</div>